<%--
  Created by IntelliJ IDEA.
  User: stone
  Date: 2021/12/31
  Time: 11:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
filefilefile
<form action="upload/file" method="post" enctype="multipart/form-data">
    <%--name属性值就是请求参数名--%>
    <input type="file" name="file"><br>
    <input type="submit">
</form>
<hr>
上传多个文件<br>
<form action="upload/files" method="post" enctype="multipart/form-data">
    <%--name属性值就是请求参数名--%>
    <input type="file" multiple name="files"><br>
    <input type="submit">
</form>
</body>
</html>
